package com.whut.mapper;

import com.whut.model.Editableweightps;

import java.util.List;

public interface EditableweightpsMapper {
    int deleteByPrimaryKey(Integer mKey);

    int deleteByTaskId(Integer taskId);

    int insert(Editableweightps record);

    int insertSelective(Editableweightps record);

    Editableweightps selectByPrimaryKey(Integer mKey);

    int updateByPrimaryKeySelective(Editableweightps record);

    int updateByPrimaryKey(Editableweightps record);

    List<Editableweightps> getInfoByTaskId(Integer taskId, Integer preNum, Integer nodeDepth);

    int insertNewSystemList(List<Editableweightps> newsystem);

    String getWeightByNumber(Integer number,Integer taskId);
}